package com.ssy.lingxi.platform.template.service.model.dto.mobile;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * mobile - 会员店铺门户 - 店铺门户包含商品列表 - DTO
 * @author fhj
 * @date 2021/09/13
 * @version 2.0.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class MemberShopInGoodsListMobileDTO {

    /**
     * 商城ID
     */
    @NotNull(message = "商城ID不能为空")
    private Long shopId;

    /**
     * 店铺门户包含商品集合
     */
    private List<MemberShopInGoods> memberShopInGoodsList;

    /**
     * 省编码
     */
    private String provinceCode;

    /**
     * 城市的编码
     */
    private String cityCode;

    @Data
    public static class MemberShopInGoods {

        /**
         * 店铺门户ID
         */
        private Long memberShopId;

        /**
         * 商品ID集合
         */
        private List<Long> goodsId;
    }
}
